﻿package 
{
    import flash.display.*;
    import flash.text.*;

    public class InitLoading extends MovieClip implements IInitLoading
    {
        public var _Tip:TextField;
        public var _loadTxt:TextField;
        public var _loadBar:MovieClip;
        public var _loadBall:MovieClip;

        public function InitLoading()
        {
            addFrameScript(0, this.frame1);
            return;
        }// end function

        public function get content() : MovieClip
        {
            return this;
        }// end function

        public function set tip(param1:String) : void
        {
            this._Tip.text = param1;
            return;
        }// end function

        public function render(param1:String, param2:int) : void
        {
            this._loadBar.width = 3.84 * param2;
            this._loadBall.x = this._loadBar.width + this._loadBar.x;
            this._loadTxt.text = param1;
            return;
        }// end function

        function frame1()
        {
            stop();
            return;
        }// end function

    }
}
